package com.library.dao;

import java.sql.Date;

import com.library.servlet.Resource;



public class Lending {
	private int lendingId;
	private int userId;
	private int bookitemId;
	private Date date;
	private String status;
	private int lendingPeriod;
	public Lending(){
		lendingPeriod = Resource.LENDINGPERIOD;
		status = Resource.CONTINUOUS;
	}
	public int getLendingId() {
		return lendingId;
	}
	public void setLendingId(int lendingId) {
		this.lendingId = lendingId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getBookitemId() {
		return bookitemId;
	}
	public void setBookItemId(int bookitemId) {
		this.bookitemId = bookitemId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getLendingPeriod() {
		return lendingPeriod;
	}
	public void setLendingPeriod(int lendingPeriod) {
		this.lendingPeriod = lendingPeriod;
	};
	
}
